package com.youlai.boot.modules.exhibition.service;

import com.youlai.boot.modules.exhibition.model.ExhibitionBrand;
import com.youlai.boot.modules.exhibition.model.ExhibitionBrandForm;
import com.youlai.boot.modules.exhibition.model.ExhibitionBrandQuery;
import com.youlai.boot.modules.exhibition.model.ExhibitionBrandVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 展会品牌关联服务类
 *
 * @author maoyu
 * @since 2025-04-17 14:53
 */
public interface ExhibitionBrandService extends IService<ExhibitionBrand> {

    /**
     *展会品牌关联分页列表
     *
     * @return
     */
    IPage<ExhibitionBrandVO> getExhibitionBrandPage(ExhibitionBrandQuery queryParams);

    /**
     * 获取展会品牌关联表单数据
     *
     * @param id 展会品牌关联ID
     * @return
     */
     ExhibitionBrandForm getExhibitionBrandFormData(Long id);

    /**
     * 新增展会品牌关联
     *
     * @param formData 展会品牌关联表单对象
     * @return
     */
    boolean saveExhibitionBrand(ExhibitionBrandForm formData);

    /**
     * 修改展会品牌关联
     *
     * @param id   展会品牌关联ID
     * @param formData 展会品牌关联表单对象
     * @return
     */
    boolean updateExhibitionBrand(Long id, ExhibitionBrandForm formData);

    /**
     * 删除展会品牌关联
     *
     * @param ids 展会品牌关联ID，多个以英文逗号(,)分割
     * @return
     */
    boolean deleteExhibitionBrands(String ids);

}
